<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>登的高</title>
  <script src="../vue.min.js"></script>
</head>
<body>
<div id="app">
  <child my-message="hello shelley"></child>
</div>
<script>
  Vue.component('child', {
    props: ['myMessage'],
    template: `<span>{{myMessage}}</span>`
  })
  new Vue({
    el: '#app'
  })
</script>
</body>
</html>